import request from './request'
export const getList = (params) => {
    return request.get('/getList', { params })
}

export const getCategories = (params) => {
    return request.get('/getCategories', { params })
}

export const addCategories = (params) => {
    return request.post('/addCategories', params)
}


export const deleteCategories = (params) => {
    return request.post('/deleteCategories', params)
}

export const addList = (params) => {
    return request.post('/addList', params)
}


export const deleteList = (params) => {
    return request.post('/deleteList', params)
}
